export interface BaseResponse<T = any> {
  code: string
  desc: string
  data: T
}

export interface PageResponse<T = any> {
  code: string
  records: T[]
  total: number
  size: number
  current: number
  pages: number
}

export interface PageResult<T> {
  records: T[]
  total: number
  size: number
  current: number
  pages: number
}

export enum ContentType {
  X_WWW_FORM_URLENCODED = 'application/x-www-form-urlencoded',
  APPLICATION_JSON = 'application/json',
  MULTIPART_FORM_DATA = 'multipart/formdata',
}


